﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace AppFuscator.MapDecoder
{
    static class Color
    {
        private static int index = 0;

        private static bool flag = false;

        private static readonly System.Drawing.Color[] colors = new System.Drawing.Color[]
                                                           {System.Drawing.Color.FromArgb(100, 200, 200),
                                                           System.Drawing.Color.FromArgb(200, 100, 200),
                                                           System.Drawing.Color.FromArgb(200, 200, 100),
                                                           System.Drawing.Color.FromArgb(220, 100, 100)};

       static public System.Drawing.Color GetRandomColor()
       {
           if (index == 4) index = 0;
           if (!flag)
           {
               flag = true;
               return colors[index++];
           }
           flag = false;
           return colors[index];
       }

    }
}
